package com.skillworld.webapp.model.courseservice;

public class AlreadyAnStudentException extends Exception {

    private Long courseId;
    private Long idStudent;
    
    public AlreadyAnStudentException(Long courseId, Long idStudent)
    {
        super("Already assign" + idStudent + "to course " + courseId);
        this.courseId = courseId;
        this.idStudent = idStudent; 
    }

}